package com.estudy.entity;

/**
 * @author: yi.jianhua
 * @create: 2019/08/08 16:35
 */
public class ResultVo<T> {
    /**
     * 返回码
     */
    private int status;
    /**
     * 原因
     */
    private String message;

    /**
     * 返回的数据
     */
    private T data;


    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ResultVo{" +
                "status=" + status +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
